<?php
/**
 * User model
 *
 * Utilizes the Data Mapper pattern to persist data. Represents a single 
 * user entry.
 * 
 * @uses       Model_Entity_BaseBean
 * @package    FireFeed
 * @subpackage Model
 */
class Model_Entity_User extends Model_Entity_BaseBean
{
	protected $_username;
    protected $_password;
	protected $_isEnabled;
	protected $_lastLogin;
	protected $_isOpenID;
	protected $_registerDate;
	
	protected $_userProfile;
	protected $_ownedCategories;
	protected $_createdCategories;
	protected $_categoriesOfInterest;
	protected $_createdFeeds;
	protected $_ownedFeeds;
	protected $_roles;
	protected $_news;
	
    /**
     * Constructor
     * 
     * @param  array|null $options 
     * @return void
     */
    public function __construct(array $options = null)
    {
        parent::__construct($options);
    }
	
	public function setCategoriesOfInterest($categoriesOfInterest) {
		$this->_categoriesOfInterest = $categoriesOfInterest;
	}

	public function getCategoriesOfInterest() {
		return $this->_categoriesOfInterest;
	}

    
    public function setUsername($username)
    {
    	$this->_username = $username;
    }
    
    public function getUsername()
    {
    	return $this->_username;
    }
    
    public function setPassword($password)
    {
    	$this->_password = $password;
    }
    
    public function getPassword()
    {
    	return $this->_password;
    }
    
    public function setIsEnabled($isEnabled)
    {
    	$this->_isEnabled = $isEnabled;
    }
    
    public function getIsEnabled()
    {
    	return $this->_isEnabled;
    }
    
    public function setLastLogin($lastLogin)
    {
    	$this->_lastLogin = $lastLogin;
    }
    
    public function getLastLogin()
    {
    	return $this->_lastLogin;
    }
    
    public function setIsOpenID($isOpenID)
    {
    	$this->_isOpenID = $isOpenID;
    }
    
    public function getIsOpenID()
    {
    	return $this->_isOpenID;
    }
    
    public function setRegisterDate($registerDate)
    {
    	$this->_registerDate = $registerDate;
    }
    
    public function getRegisterDate()
    {
    	return $this->_registerDate;
    }
    
    public function setUserProfile($userProfile)
    {
    	$this->_userProfile = $userProfile;
    }
    
    public function getUserProfile()
    {
    	return $this->_userProfile;
    }
	
	public function setCreatedCategories($createdCategories) 
	{
		$this->_createdCategories = $createdCategories;
	}

	public function getCreatedCategories() 
	{
		return $this->_createdCategories;
	}

	public function setOwnedCategories($ownedCategories) 
	{
		$this->_ownedCategories = $ownedCategories;
	}

	public function getOwnedCategories() 
	{
		return $this->_ownedCategories;
	}
	
	public function setOwnedFeeds($ownedFeeds) {
		$this->_ownedFeeds = $ownedFeeds;
	}

	public function setCreatedFeeds($createdFeeds) {
		$this->_createdFeeds = $createdFeeds;
	}

	public function getOwnedFeeds() {
		return $this->_ownedFeeds;
	}

	public function getCreatedFeeds() {
		return $this->_createdFeeds;
	}

    public function setRoles($roles)
    {
    	$this->_roles = $roles;
    }
    
    public function getRoles()
    {
    	return $this->_roles;
    }
    
    public function setNews($news)
    {
    	$this->_news = $news;
    }
    
    public function getNews()
    {
    	return $this->_news;
    }
}